package com.dk.service;

import com.dk.pojo.TRole;

import java.util.List;

public interface RoleService {
    List<TRole> getinfo();

    boolean deleteInfo(Integer roleId);

    boolean addinfo(TRole role, Integer[] nodeIds);

    boolean updateInfo(Integer[] nodeIds, TRole tRole);

    TRole getInfo(Integer id);
}
